<?php
if ($options['videose'] == true) :

	$subject = get_category_parents($cat, FALSE, ' ', FALSE);
	$pattern = '/^'. get_cat_name($options['videos']) .'/';
	if (preg_match($pattern, $subject)) :
	include TEMPLATEPATH. '/category-videos.php';
	else :
	include TEMPLATEPATH. '/archive.php';
	endif;

else :

	include TEMPLATEPATH. '/archive.php';

endif;
?>